import { ResPage, User } from "../interface/index";
import { PORT1 } from "../../config/servicePort";

import http from "@/http";

/**
 * @name 用户管理模块
 */
// * 获取用户列表
export const getUserList = (params: User.ReqGetUserParams) => {
	return http.post<ResPage<User.ResUserList>>(PORT1 + `/user/list`, params);
};
